cmake_minimum_required(VERSION 3.19)
project(email)

set(CMAKE_CXX_STANDARD 14)
#set(CMAKE_BUILD_TYPE Release)
add_executable(email
        main.cpp
        util.h
        util.cpp
        Email.h
        Email.cpp
        Exception.cpp
        Exception.h
        TCPConnector.h
        TCPConnector.cpp
        MIMEContent.cpp
        MIMEContent.h
        POP3Connector.cpp
        POP3Connector.h
        STMPConnector.cpp
        STMPConnector.h

        User.h User.cpp)



target_link_libraries(email PRIVATE -lws2_32)